"""
@Date:2022/8/9
@author:Jingyu
@Description：查询，排序测试Demo：
@other：
"""
from frameworkTest.FrameworkByRead import FrameworkByRead
class SmsLawByRead(object):
    frameworkByRead = FrameworkByRead()
    # 搜索框搜索
    def selectRead(self,driver,xpath,text):

        self.frameworkByRead.menuRead(driver,xpath,text)

    def liReadByInput(self,driver,sequence,text):

        self.frameworkByRead.liReadByInput(driver,sequence,text)

    def liReadByOption(self,driver,ulXpath,text):
        self.frameworkByRead.liReadByOption(driver,None,ulXpath,text)

    def sortById(self,driver,sequence):
        self.frameworkByRead.sortById(driver,sequence)

    def sortAll(self,driver,endNum):
        self.frameworkByRead.sortAll(driver,endNum)